class CreateHarvestableSites < ActiveRecord::Migration
  def self.up
    create_table :harvestable_sites do |t|
        t.string :name
        t.string :site_url

        t.timestamps
      end
      HarvestableSite.create(:name => "Flickr", :site_url => "http://api.flickr.com/services/rest/")
      HarvestableSite.create(:name => "Slideshare", :site_url => "http://www.slideshare.com")
      HarvestableSite.create(:name => "Twitter", :site_url => "http://www.twitter.com")
      HarvestableSite.create(:name => "Youtube", :site_url => "http://www.youtube.com")
  end

  def self.down
    drop_table :harvestable_sites
  end
end

